package com.xuecheng.api.content;

import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.api.content.model.vo.CourseAuditVO;
import com.xuecheng.content.common.domain.page.PageRequestParams;
import com.xuecheng.content.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
@Api(value = "课程运营平台Api")
public interface CourseAuditApi {

    @ApiOperation(value = "分页查询课程-- 运营查询所有")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "model",dataType = "QueryCourseModel",paramType = "body")
    })
    PageVO queryCourseList(PageRequestParams params, QueryCourseModel model);


    @ApiOperation(value = "课程审核-运营平台")
    @ApiImplicitParam(value = "auditVO" ,name = "课程审核的vo类",dataType = "CourseAuditVO",paramType = "body")
    void approveCourse(CourseAuditVO auditVO);
}
